// File Name: flash_task.h
// Author: kukukukuku~
// Date: 2024-07-12

#ifndef __FLASH_TASK_H
#define __FLASH_TASK_H

#include "./User/Flash/inc/flash_logic.h"
#include "FreeRTOS.h"
#include "semphr.h"
#include "task.h"

#define TASK_FLASH_LABEL                    "task flash"
#define TASK_FLASH_STACK                    (64)
#define TASK_FLASH_PRIORITIES               (7)

extern TaskHandle_t taskHandleFlash;   //Flash任务句柄

extern SemaphoreHandle_t semaphBinFlash;   //Flash二值信号量

//Flash任务
void task_flash(void *arg);

#endif //__FLASH_TASK_H
